package com.example.assempro.model;


import java.util.List;

public class HomepageIndexInfo {

    //  代理商状态 -1未申请 0 待审核; 1待缴费 2已授权 3已拒绝 4已关闭 5已冻结
    private int showagenticon;

    private int showbanktips;//是否提示绑卡0:不提示1:提示


    private List<ServicesBean> services;
    private List<RollnewsBean> rollnews;
    private List<HomePageEventBean> activies;
    /**
     * 是否显示数字采购电商0：不显示1：显示
     */
    private int is_show_demand_online_retailers;
    /**
     * 数字采购物资商城
     */
    private List<OnlineRetailersDemandBean> online_retailers_demand;
    /**
     * 是否显示数字采购电商0：不显示1：显示
     */
    private int is_show_wisdom_online_retailers;
    /**
     * 智慧工地硬件商城
     */
    private List<OnlineRetailersWisdomBean> online_retailers_wisdom;


    public int getShowagenticon() {
        return showagenticon;
    }

    public void setShowagenticon(int showagenticon) {
        this.showagenticon = showagenticon;
    }

    public int getShowbanktips() {
        return showbanktips;
    }

    public void setShowbanktips(int showbanktips) {
        this.showbanktips = showbanktips;
    }

    public List<ServicesBean> getServices() {
        return services;
    }

    public void setServices(List<ServicesBean> services) {
        this.services = services;
    }

    public List<RollnewsBean> getRollnews() {
        return rollnews;
    }

    public void setRollnews(List<RollnewsBean> rollnews) {
        this.rollnews = rollnews;
    }

    public List<HomePageEventBean> getActivies() {
        return activies;
    }

    public void setActivies(List<HomePageEventBean> activies) {
        this.activies = activies;
    }


    public int getIs_show_demand_online_retailers() {
        return is_show_demand_online_retailers;
    }

    public void setIs_show_demand_online_retailers(int is_show_demand_online_retailers) {
        this.is_show_demand_online_retailers = is_show_demand_online_retailers;
    }

    public List<OnlineRetailersDemandBean> getOnline_retailers_demand() {
        return online_retailers_demand;
    }

    public void setOnline_retailers_demand(List<OnlineRetailersDemandBean> online_retailers_demand) {
        this.online_retailers_demand = online_retailers_demand;
    }

    public int getIs_show_wisdom_online_retailers() {
        return is_show_wisdom_online_retailers;
    }

    public void setIs_show_wisdom_online_retailers(int is_show_wisdom_online_retailers) {
        this.is_show_wisdom_online_retailers = is_show_wisdom_online_retailers;
    }

    public List<OnlineRetailersWisdomBean> getOnline_retailers_wisdom() {
        return online_retailers_wisdom;
    }

    public void setOnline_retailers_wisdom(List<OnlineRetailersWisdomBean> online_retailers_wisdom) {
        this.online_retailers_wisdom = online_retailers_wisdom;
    }

    public static class ServicesBean {

        public ServicesBean() {
        }


        public ServicesBean(String code, String title) {
            this.code = code;
            this.title = title;
        }

        /**
         * code : eq
         * title : 机械设备
         * icon : https://su.bcebos.com/v1/lezhu-test/system/service/cost.png
         */


        private String code;
        private String title;
        private String icon;
        boolean show_righttop_icon;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public boolean isShow_righttop_icon() {
            return show_righttop_icon;
        }

        public void setShow_righttop_icon(boolean show_righttop_icon) {
            this.show_righttop_icon = show_righttop_icon;
        }
    }

    public static class RollnewsBean {
        /**
         * id : 1761
         * title : 绿箭集团入驻乐筑
         */

        private int id;
        private String title;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class HomePageEventBean {
        /**
         * title : 百度甄选
         * pic : http://su.bcebos.com//v1/lezhu/member/20181107/android/user_avatar_2930_1541581736769.png
         * url : http://www.baidu.com
         * description : 甄选全网品质服务
         */

        private String title;
        private String pic;
        private String url;
        private String brief;

        public String getBrief() {
            return brief;
        }

        public void setBrief(String brief) {
            this.brief = brief;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

    }

    public static class OnlineRetailersDemandBean {
        //标题
        private String title;
        private String pic;
        //跳转链接，内部链接：lezhu://shop_detail?id=123外部链接：http://www.baidu.com（h5）
        private String url;
        //描述
        private String brief;
        private int type;
        private String header_pic;
        //产品图
        private String full_pic;
        //头部图
        private String full_header_pic;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getBrief() {
            return brief;
        }

        public void setBrief(String brief) {
            this.brief = brief;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getHeader_pic() {
            return header_pic;
        }

        public void setHeader_pic(String header_pic) {
            this.header_pic = header_pic;
        }

        public String getFull_pic() {
            return full_pic;
        }

        public void setFull_pic(String full_pic) {
            this.full_pic = full_pic;
        }

        public String getFull_header_pic() {
            return full_header_pic;
        }

        public void setFull_header_pic(String full_header_pic) {
            this.full_header_pic = full_header_pic;
        }
    }

    public static class OnlineRetailersWisdomBean {
        private String title;
        private String pic;
        //跳转链接 内部链接：lezhu://wisdom_goods_detail?id=123
        private String url;
        private String brief;
        private int type;
        private String header_pic;
        private String full_pic;
        private String full_header_pic;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getBrief() {
            return brief;
        }

        public void setBrief(String brief) {
            this.brief = brief;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getHeader_pic() {
            return header_pic;
        }

        public void setHeader_pic(String header_pic) {
            this.header_pic = header_pic;
        }

        public String getFull_pic() {
            return full_pic;
        }

        public void setFull_pic(String full_pic) {
            this.full_pic = full_pic;
        }

        public String getFull_header_pic() {
            return full_header_pic;
        }

        public void setFull_header_pic(String full_header_pic) {
            this.full_header_pic = full_header_pic;
        }
    }
}
